* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #4a89dc;
    color: white;
    text-align: center;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.game-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-card h2 {
    margin-bottom: 0.5rem;
    color: #4a89dc;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: #f0f2f5;
    color: #666;
}
